package com.qt.collection;

public class Cat extends Animal{

    private String cheat;

    public void sleet(){
        System.out.println("大哥独有的方法");
    }


    public Cat() {
    }

    public Cat(String cheat) {
        this.cheat = cheat;
    }

    /**
     * 获取
     * @return cheat
     */
    public String getCheat() {
        return cheat;
    }

    /**
     * 设置
     * @param cheat
     */
    public void setCheat(String cheat) {
        this.cheat = cheat;
    }

    public String toString() {
        return "Cat{cheat = " + cheat + "}";
    }
}
